package com.eshop.modules.activity.service.dto;

import com.eshop.annotation.Query;

public class StoreCouponUserQueryCriteria
{
    @Query(type = Query.Type.INNER_LIKE)
    private String couponTitle;
    
    public String getCouponTitle() {
        return this.couponTitle;
    }
    
    public void setCouponTitle(final String couponTitle) {
        this.couponTitle = couponTitle;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof StoreCouponUserQueryCriteria)) {
            return false;
        }
        final StoreCouponUserQueryCriteria other = (StoreCouponUserQueryCriteria)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$couponTitle = this.getCouponTitle();
        final Object other$couponTitle = other.getCouponTitle();
        if (this$couponTitle == null) {
            if (other$couponTitle == null) {
                return true;
            }
        }
        else if (this$couponTitle.equals(other$couponTitle)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof StoreCouponUserQueryCriteria;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $couponTitle = this.getCouponTitle();
        result = result * 59 + (($couponTitle == null) ? 43 : $couponTitle.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "StoreCouponUserQueryCriteria(couponTitle=" + this.getCouponTitle() + ")";
    }
}
